import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App'
import './index.css'

import 'antd/dist/reset.css';
import { ConfigProvider } from 'antd'
import zhCN from 'antd/locale/zh_CN';
import { HashRouter,Routes,Route } from 'react-router-dom'
import Login from './Login/Login'

ReactDOM.createRoot(document.getElementById('root')).render(
  <HashRouter>
      <ConfigProvider locale={zhCN}>
        <Routes>
          <Route path='/' element={<Login/>}/>
          <Route path='/pages/*' element={<App/>}/>
        </Routes>
      </ConfigProvider>
  </HashRouter>
  

)
